package com.qzsoft.zhjd.materiel.modules.materielapi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName MaterielApiVesionEntity
 * @Description 物料API版本号
 * @author linhuawei
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("n_materiel_api_version")
public class MaterielApiVesionEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String code;

    private Long version;

}
